package com.izhangqian.signproject.plugin;

import android.content.pm.PackageInfo;
import android.content.res.AssetManager;
import android.content.res.Resources;

import com.izhangqian.pluginapk.PluginEntry;

import dalvik.system.DexClassLoader;

public class PluginApk {
    private DexClassLoader mClassLoader;
    private Resources mResources;
    private PackageInfo mPackageInfo;
    private AssetManager mAssManager;
    private PluginEntry mEntry;
    public PluginApk(DexClassLoader classLoader, Resources resources, PackageInfo packageInfo, AssetManager assetManager) {
        mClassLoader = classLoader;
        mResources = resources;
        mPackageInfo = packageInfo;
        mAssManager = assetManager;
    }

    public DexClassLoader getClassLoader() {
        return mClassLoader;
    }

    public Resources getResource() {
        return mResources;
    }

    public AssetManager getAssetManager() {
        return mAssManager;
    }

    public String getStringa() {
        return "default";
    }

    public PluginEntry getEntry() {
        return mEntry;
    }

    public void setEntry(PluginEntry entry) {
        mEntry = entry;
    }
}
